package com.itheima.domain;

import com.itheima.service.impl.UserServiceImpl;

import java.util.*;

public class User {
    private String name;
    private int age;
    private Date birthday;
    private UserServiceImpl userService;

    //    集合注入
    private List list;
    private Properties properties;
    private int[] arr;
    private HashSet hs;
    private HashMap hm;

    public void setList(List list) {
        this.list = list;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public void setArr(int[] arr) {
        this.arr = arr;
    }


    public void setHm(Map hm) {
        this.hm = (HashMap) hm;
    }

    public List getList() {
        return list;
    }

    public Properties getProperties() {
        return properties;
    }

    public int[] getArr() {
        return arr;
    }

    public void setHm(HashMap hm) {
        this.hm = hm;
    }

    public HashSet getHs() {
        return hs;
    }

    public void setHs(Set hs) {
        this.hs = (HashSet) hs;
    }

    public HashMap getHm() {
        return hm;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public void setUserService(UserServiceImpl userService) {
        this.userService = userService;
    }

    public User() {
    }

    public User(String name, int age, Date birthday, UserServiceImpl userService) {
        this.name = name;
        this.age = age;
        this.birthday = birthday;
        this.userService = userService;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public UserServiceImpl getUserService() {
        return userService;
    }
}
